package com.zy.dao.crm;

import java.util.List;

import com.zy.entity.bs.CustomerApply;
import org.apache.ibatis.annotations.Param;

import com.zy.dao.base.BaseDao;
import com.zy.entity.crm.Customer;
import com.zy.pojo.query.crm.CustomerQuery;

public interface CustomerDao extends BaseDao<Customer> {

	List<Customer> listCustomer(@Param("customerQuery") CustomerQuery customerQuery, @Param("start") Integer start,
                                @Param("limit") Integer limit);

	Long countCustomer(@Param("customerQuery") CustomerQuery customerQuery);

	Customer getCustomerByUserId(@Param("userId") long userId);

	Customer getCurrentCustomerInfo(@Param("id") long id);

    Customer customerInfo(@Param("id") long id);


}